package com.morizhang.merchanmanager.api.dao;

import com.morizhang.merchanmanager.api.model.CommodityDataModel;
import com.morizhang.merchanmanager.api.model.CommodityExpireModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CommodityExpireDayDao {
    void addNewExpireRecord(CommodityExpireModel newRecord);
    CommodityExpireModel queryCommodityExpireByBarcode(String barCode);
}
